Fix make check
authorMatthias Clasen <mclasen@redhat.com>
Tue, 27 Oct 2015 17:26:50 +0000 (13:26 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 27 Oct 2015 17:27:43 +0000 (13:27 -0400)
Don't try setting GtkShortcutsShortcut::accelerator to a
random value, it only accepts strings that it can parse.

testsuite/gtk/notify.c

index 505c066a04645d12a56e3538584d6175e737f6ee..6ef29f9300a96853125e026595dafdfa56f33227 100644 (file)
@@ -661,6 +661,10 @@ test_type (gconstpointer data)
           pspec->owner_type == GTK_TYPE_BUTTON)
         continue;
 
+      if (g_type_is_a (type, GTK_TYPE_SHORTCUTS_SHORTCUT) &&
+         g_str_equal (pspec->name, "accelerator"))
+       continue;
+
       if (g_test_verbose ())
         g_print ("Property %s.%s\n", g_type_name (pspec->owner_type), pspec->name);